package com.youi.service;

import com.youi.entity.Tremittance;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface TremittanceService extends BaseService<Tremittance> {

    /**
     * 获取打款申请信息
     *
     * @param tremittanceList
     */
    public void getTremittanceMsg(List<Tremittance> tremittanceList);

    /**
     * 获取打款申请信息
     *
     * @param tremittance
     */
    public void getTremittanceMsg(Tremittance tremittance);

    /**
     * 导出打款申请excel
     *
     * @param request
     * @param tremittanceList
     * @return
     */
    public void toExcelTremittance(HttpServletRequest request, List<Tremittance> tremittanceList);

    public Tremittance getForUpdate(Long id);

    public List<Tremittance> listForFinishMerchantDivide(Long id);

    public List<Map<String, Object>> merchantDivideStat(Long id);

    public List<Tremittance> listForFinishPlatfotmDivide(Long id);

    public List<Map<String, Object>> PlatfotmDivideStat(Long id);

    /**
     * 获取打款申请
     *
     * @param param
     * @return
     */
    List<Map<String, Object>> listRemittanceApplyByParam(Map<String, Object> param);
}